package com.rmkj.trade.match.core;

/**
 * Created by Administrator on 2019/1/8.
 */
public interface MatchTradeConstants {
	int ORDER_DIRECTION_SELL = 0;
	int ORDER_DIRECTION_BUY = 1;

	interface REGULAR_EXPRESSION {
		/**
		 * 09:30-12:30,13:30-16:00
		 */
		String TRADING_PERIODS = "^(([0-1]\\d)|(2[0-3])):([0-5]\\d)-(([0-1]\\d)|(2[0-3])):([0-5]\\d)(,(([0-1]\\d)|(2[0-3])):([0-5]\\d)-(([0-1]\\d)|(2[0-3])):([0-5]\\d))*$";
		String HHMM = "^(([0-1]\\d)|(2[0-3])):([0-5]\\d)$";
	}

}
